package com.weixing.mall.provider.model.enums;

import com.weixing.mall.base.enums.IBaseEnum;


/**
 * @Author wx
 * @Date 2019/9/23 14:17
 * @Version 1.0
 */

public enum BillTypeEnum implements IBaseEnum<Integer> {
    INCOME(1,"入账"),
    OUTCOME(2,"出账"),
    FLAT(0,"持平"),
    ;
    private int value;
    private String desp;

    BillTypeEnum(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    @Override
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
